home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextCut.z / XmTextCut
Encoding:
Text File  |  2003-11-18  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_C_u_t - A    Text function that copies the primary
  10.       selection to the clipboard and deletes the selected text
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Text.h>
  14.  
  15.       Boolean XmTextCut (wwwwiiiiddddggggeeeetttt,,,, ttttiiiimmmmeeee)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.            _T_i_m_e     ttttiiiimmmmeeee;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_T_e_x_t_C_u_t copies the primary selected    text to    the clipboard
  21.       and then deletes the primary selected    text.  This routine
  22.       calls    the widget's _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k and verification
  23.       callbacks, either _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k or
  24.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s, or both.    If both    verification
  25.       callback lists are registered, the procedures    of the
  26.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k list are executed first and the
  27.       resulting data is passed to the _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s
  28.       callbacks.
  29.  
  30.       wwwwiiiiddddggggeeeetttt
  31.            Specifies the Text widget ID.
  32.  
  33.       ttttiiiimmmmeeee Specifies the server time at which the selection    value
  34.            is to be    modified.  This    should be the time of the
  35.            event which triggered this request.  One    source of a
  36.            valid time stamp    is the function
  37.            _X_t_L_a_s_t_T_i_m_e_s_t_a_m_p_P_r_o_c_e_s_s_e_d().
  38.  
  39.       For a    complete definition of Text and    its associated
  40.       resources, see _X_m_T_e_x_t(_3_X).
  41.  
  42.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  43.       This function    returns    False if the primary selection is
  44.       NULL,    if the wwwwiiiiddddggggeeeetttt doesn't own the primary selection, or if
  45.       the function is unable to gain ownership of the clipboard
  46.       selection.  Otherwise, it returns True.
  47.  
  48.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  49.       _X_m_T_e_x_t(_3_X).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.